package cn.myzf.fort.access.accesscommon.autoconfigure;


import cn.myzf.fort.access.accesscommon.dto.HostInfo;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;


@ConfigurationProperties(prefix = "spring.ssh2",ignoreInvalidFields = true)
public class JschProperties {
	/**
	 * proxy host
	 */
	private String proxyHost;
	/**
	 * the port to access proxy host 
	 */
	private int proxyPort;
	/**
	 * the user login to the proxy host
	 */
	private String proxyUser;
	/**
	 * the user's password
	 */
	private String proxyPassword;


	private List<HostInfo> hostInfo;

	private String strictHostKeyChecking = "no";


	public String getProxyHost() {
		return proxyHost;
	}

	public void setProxyHost(String proxyHost) {
		this.proxyHost = proxyHost;
	}

	public int getProxyPort() {
		return proxyPort;
	}

	public void setProxyPort(int proxyPort) {
		this.proxyPort = proxyPort;
	}

	public String getProxyUser() {
		return proxyUser;
	}

	public void setProxyUser(String proxyUser) {
		this.proxyUser = proxyUser;
	}

	public String getProxyPassword() {
		return proxyPassword;
	}

	public void setProxyPassword(String proxyPassword) {
		this.proxyPassword = proxyPassword;
	}

	public List<HostInfo> getHostInfo() {
		return hostInfo;
	}

	public void setHostInfo(List<HostInfo> hostInfo) {
		this.hostInfo = hostInfo;
	}

	public String getStrictHostKeyChecking() {
		return strictHostKeyChecking;
	}

	public void setStrictHostKeyChecking(String strictHostKeyChecking) {
		this.strictHostKeyChecking = strictHostKeyChecking;
	}
}
